﻿using System.ComponentModel.DataAnnotations;

namespace SUNRPA.CONTROLS.IMPL.domain.flowItemParam {
    [Serializable]
    public class KeyBoardInputNParam : BaseParam {
        private string inputText = "";
        //强制切换为英式键盘
        private bool forceEnglishKeyBoard = true;
        //按键输入间隔
        private int keyStep = 10;
        public string InputText {
            get => inputText; 
            set { 
                inputText = value;
                NotifyPropertyChanged("SearchText");
            }  
        }

        public bool ForceEnglishKeyBoard {
            get => forceEnglishKeyBoard; 
            set { 
                forceEnglishKeyBoard = value;
                NotifyPropertyChanged("ForceEnglishKeyBoard");
            }  
        }

        public int KeyStep {
            get => keyStep; 
            set { 
                keyStep = value;
                NotifyPropertyChanged("KeyStep");
            }  
        }
    }
}
